#define _CRT_SECURE_NO_WARNINGS 1
#include<stdlib.h>
#include<stdio.h>

int main() {
	int** a;
	//char* str = realloc(arr, 10 * sizeof(char));
	a = (int**)malloc(sizeof(int*) * 3);
	a[2] = (int*)malloc(sizeof(int) * 5);
    for (int i = 0; i < 3; i++)
    {
        for (int j = 0; j < 5; j++)
        {
            printf("%p\n", &a[i][j]);
        }
    }
	free(a);
}